<template>
  <n-layout has-sider class="flex justify-start">
    <n-layout-sider
      v-model:collapsed="collapsed"
      inverted
      show-trigger="bar"
      bordered
      collapse-mode="width"
      :native-scrollbar="false"
      content-style="height:100%;"
      :collapsed-width="64"
      :width="250"
    >
    </n-layout-sider>

  </n-layout>
</template>
<script setup>
import { nextTick, provide, ref } from 'vue';

/**
 * 菜单是否折叠，值在菜单为垂直时有用
 */
const collapsed = ref(false)

</script>
